package com.song.tools.songtest.beans.request;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 用户表新增请求体
 * </p>
 *
 * @author song tools
 * @since 2024-07-09
 */
@Data
@Schema(title = "SysUserSaveRequest", description = "用户表新增请求体")
public class SysUserSaveRequest implements Serializable {

    @Serial
    private static final long serialVersionUID = -1;

    /**
     * 用户账号
     */
    @Schema(title = "loginAccount", description = "用户账号")
    private String loginAccount;

    /**
     * 用户名称
     */
    @Schema(title = "username", description = "用户名称")
    private String username;

    /**
     * 密码
     */
    @Schema(title = "password", description = "密码")
    private String password;

    /**
     * 头像
     */
    @Schema(title = "profilePhoto", description = "头像")
    private String profilePhoto;

    /**
     * 性别:1=男,0=女
     */
    @Schema(title = "sex", description = "性别:1=男,0=女")
    private Integer sex;

    /**
     * 年龄
     */
    @Schema(title = "age", description = "年龄")
    private Integer age;

    /**
     * 出生日期
     */
    @Schema(title = "birthday", description = "出生日期")
    private LocalDateTime birthday;

    /**
     * 电话
     */
    @Schema(title = "phone", description = "电话")
    private String phone;

    /**
     * 邮箱
     */
    @Schema(title = "email", description = "邮箱")
    private String email;

    /**
     * 状态:1=启用,0=禁用
     */
    @Schema(title = "status", description = "状态:1=启用,0=禁用")
    private Integer status;

    /**
     * 备注
     */
    @Schema(title = "remark", description = "备注")
    private String remark;

}
